package com.dwxt.cdms.view.wristwatch;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import java.time.LocalDateTime;

/**
 * 腕表-健康数据-血压
 *
 * @author Kuang.JiaZhuo
 * @date 2020-09-10 18:16
 */
@Data
public class BpDataView extends CustomerBasic {

    /**
     * 血压数据id
     */
    private String id;

    /**
     * 血氧
     */
    private Integer oxygen;

    /**
     * 心率变异性
     */
    private Integer hrv;

    /**
     * 舒张压
     */
    private Integer diastolic;

    /**
     * 收缩压
     */
    private Integer systolic;

    /**
     * 测量时间(采集时间)
     */
    private String time;

    /**
     * 创建时间(录入数据库的时间)
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
